home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / hst_set5.zip / HST_SET.TXT < prev   
Text File  |  1991-03-16  |  25KB  |  605 lines

  1.  
  2.                  HST (DS) Setup Notes
  3.                 ----------------------
  4.  
  5.               John Souvestre  &  Jim King
  6.  
  7.                     March 15, 1991
  8.  
  9.  
  10.     These notes describe how to set up the U. S. Robotics Courier
  11.     HST (14.4K bps), or HST Dual Standard, modem and typical,
  12.     IBM-type, PC communications software, such as:
  13.  
  14.          FOSSIL          BBS         Driver       Terminal
  15.         --------     -----------     ------     ------------
  16.         BNU          BinkleyTerm     DSZ        ProComm Plus
  17.         OpusComm     D'Bridge                   QModem
  18.         X00          FrontDoor                  Telix
  19.              Maximus
  20.              Opus
  21.              RBBS
  22.  
  23.     The first section has some miscellaneous information about
  24.     running a high speed modem.  The next section covers the setup
  25.     for the HST itself.  The remaining four sections cover typical
  26.     FOSSIL, BBS, Driver, and Terminal program setups.
  27.  
  28.     This note is not a tutorial on modems in general, or on the HST.
  29.     It is a "setup philosophy" for the HST.  We highly recommend
  30.     that you read the HST manual, even if you don't understand all
  31.     of it.
  32.  
  33.     If you have any questions, suggestions, or setup information for
  34.     other programs, please contact us via The Southern Star BBS,
  35.     FidoNet 1:396/1, 504-885-5928.  On this BBS you will also find
  36.     a current version of this file under the name HST_SET.ZIP.
  37.  
  38.  
  39.     ================================================================
  40.  
  41.  
  42.                General Notes on High Speed Modems
  43.               ------------------------------------
  44.  
  45.  
  46.     The RS-232C cable connecting the modem to the computer's serial
  47.     port should have at least the following pins connected:  1, 2,
  48.     3, 4, 5, 6, 7, 8, and 20.  Get an Ohm Meter, Multimeter, or
  49.     other form of continuity tester, and check your cable.  Some
  50.     connectors have pins which are looped back, and which are not
  51.     connected to the connector at the other end of the cable.
  52.  
  53.     To get the "most" out of your HST you will have to set the
  54.     computer-to-modem speed higher than the modem-to-modem speed.
  55.     This is called "locking" the serial port, since it won't be
  56.     operating at the same speed as the modem itself is.  Why is this
  57.     necessary?
  58.  
  59.     For a few reasons:  Most computer serial ports don't operate at
  60.     14400 bps, the basic speed of the HST.  Thus the computer has to
  61.     operate at a higher speed.  Because of this, however, the
  62.     computer and the modem have to be able to "handshake" to prevent
  63.     overrun, and loss of data.  This is called "flow control".
  64.     Hardware handshaking, using the RTS and CTS lines (in the cable
  65.     mentioned above) does the job.  Avoid software handshaking, as
  66.     it is protocol sensitive.
  67.  
  68.     Another reason is that the HST does not need to send the start
  69.     and stops bit which make up part of the the asynchronous data
  70.     from/to the computer.  This means that for every 10 bits of
  71.     computer-to-modem data, there is only 8 bits of modem-to-modem
  72.     data.
  73.  
  74.     Given that each of these represents one character, the cps
  75.     (characters per second) rating of both links is the same.  When
  76.     talking about bps (bits per second) however, this means that the
  77.     computer-to-modem link needs to be 25% faster to keep up with
  78.     the modem-to-modem link, even though both are at the same cps
  79.     rate!  Thus it is possible to get more than 100% throughput with
  80.     an HST.
  81.  
  82.     Now let's talk about data compression.  MNP compression adds
  83.     about 5% overhead to the data you are sending.  So, if the data
  84.     is already compressed, with PKZip for example, then you will
  85.     probably just end up losing the 5%.  If you are sending ASCII
  86.     text however, the HST's compression will buy you about 50-100%
  87.     improvement.
  88.  
  89.     The HST allows you to set up compression in one of 3 ways:
  90.     Always on, always off, and do what the other end wants.  In
  91.     general, the calling modem should be set to optimize the type of
  92.     transfers it expects to be doing.  The answering modem should
  93.     allow the caller to choose whether he wants compression or not.
  94.  
  95.     If you have a V.42 model, then you have an additional mode.  It
  96.     allows you to use V.42 compression (which will not add any
  97.     overhead for an already compressed file), but not MNP
  98.     compression.
  99.  
  100.     Transfers using compression, at 14400 bps, should generally lock
  101.     the serial port at 38400 bps.  19200 bps probably won't be fast
  102.     enough to allow the modem to run at full speed, depending on the
  103.     type of file being compressed.
  104.  
  105.     In general, unless you expect to be doing lots of transfers
  106.     using compression, it is our opinion that locking the serial
  107.     port at 19200 bps is the better way to go.  It is less demanding
  108.     of the computer, thus reducing the chances of losing data in
  109.     marginal cases.
  110.  
  111.     When transferring previously compressed data, where the modem is
  112.     not doing the compression, the maximum rate you will be able to
  113.     achieve is approximately 1710 cps (178% of 9600 bps) on the
  114.     computer-to-modem link.  [Note:  1710 cps is 14400 bps, plus 25%
  115.     due to start/stop bit stripping, minus 5% for modem-to-modem
  116.     overhead.]  If you are running an older 9600 bps HST, the
  117.     maximum rate is about 1140 cps (119% of 9600 bps).
  118.  
  119.     When testing to determine your transfer rate, test with a known
  120.     good system!  If the other system isn't working properly, then
  121.     you are just wasting your time.  Be sure to use a previously
  122.     compressed file which takes at least a few minutes to transfer.
  123.  
  124.     Test both transmitting and receiving.  Don't trust your
  125.     communications program's timer - some have been know to be off
  126.     by as much as 20%.  An efficient protocol will have an overhead
  127.     of 2 - 3%.  Some programs count this overhead in the total
  128.     (total characters transferred), while others don't ("useful"
  129.     characters transferred).
  130.  
  131.     For the rest of this note we will assume that you want to lock
  132.     the serial port at 19200 bps.  If you want to lock at 38400 bps
  133.     instead, just change the "19200"s to "38400"s.
  134.  
  135.     Some communications programs and most FOSSILs allow you to
  136.     specify the size of the receive and/or transmit buffers.  The
  137.     best size will depend on many factors, and may require a bit of
  138.     testing on your part.  For starters however, we recommend that
  139.     you make the both the transmit buffer and the receive buffer
  140.     1K.  If you are running under a multi-tasking operating system
  141.     then you might want to start with both, or just the receive
  142.     buffer, set to 2K, instead.
  143.  
  144.     One thing that you will notice when running a high speed modem
  145.     is that all file protocols are not created equal!  Protocols
  146.     which require an "Ack" for every block sent do not perform well.
  147.     Thus you will want to avoid XModem, for example.  YModem does
  148.     better because it uses a larger block size.
  149.  
  150.     Streaming protocols, such as ZModem, work fine.  However, avoid
  151.     protocols like YModem-G, which use error detection, but no error
  152.     recovery, simply aborting the transfer upon an error.  Although
  153.     the modem-to-modem transfer is guaranteed by a 16 bit CRC used
  154.     by the modems themselves, errors can still occur between the
  155.     computer and the modem at either end.  In some situations it is
  156.     not uncommon to lose an occasional character (see below).  It is
  157.     not worth this chance for a speed advantage of less than 1%.
  158.  
  159.     We highly recommend replacing the serial interface chip (UART),
  160.     a 8250 or 16450, with a 16550A.  This chip contains a 16
  161.     character FIFO, as opposed to a double buffer.  If your
  162.     communications program makes use of the FIFO, it will allow you
  163.     longer interrupt latency and/or less interrupt overhead.
  164.  
  165.     Various manufacturers make versions of the 16550A.  National
  166.     Semiconductor was the first.  Their full part number for the
  167.     40-pin DIP is NS16550AN or NS16550AFN.  Make sure that the part
  168.     you get is a 16550A, and not the older 16550.  Avoid the Western
  169.     Digital version (WD16550...).
  170.  
  171.     In all the cases that follow we recommend installing a 16550A.
  172.     In some of the cases alternatives are also presented.
  173.  
  174.     Some computers (particularly 4.77 MHz, 8088 machines) are not
  175.     fast enough to support 19200 or 38400 bps.  If you have this
  176.     type of computer, you can use 9600 bps instead, but this will
  177.     not give you the HST's full speed.
  178.  
  179.     Certain disk controllers, with